<template>
	<view class="container"> 
	<web-view :webview-styles="webviewStyles" :src="src"></web-view>  
	</view>
</template>

<script>
	export default {
		data() {
			return {
				webviewStyles: {
				                    progress: {
				                        color: '#FF3333'
				                    },
									width:'100%',
									height:'calc(100vh)'
				                },
				src:''
			};
		},
		onLoad(e) {
			this.src = e.src;
		}
	}
</script>

<style lang="less">
.container {
  width: 100%;
  height: 100%;
}
</style>
